package com.ls.lserp.modules.order.dao;

import java.util.List;

import com.ls.lserp.common.persistence.CrudDao;
import com.ls.lserp.common.persistence.annotation.MyBatisDao;
import com.ls.lserp.modules.order.entity.BigConsumption;
import com.ls.lserp.modules.order.entity.Quotation;

/**
  * @ClassName: BigConsumptionDao
  * @Description: 分类接口
  * 
  * @author 
  * @date 2017年02月6日 
  *
  */

@MyBatisDao
public interface BigConsumptionDao extends CrudDao<BigConsumption> {
	
	/**
     * 
     * @param sampleRequestNo
     * @return List<BigConsumption> 
     */
    /*public List<BigConsumption> findSizeQuantityList(String sampleRequestNo);*/
	
	public List<BigConsumption> findStyleList(BigConsumption bigConsumption);
	public BigConsumption getStyle(BigConsumption bigConsumption);
	public List<BigConsumption> findUnitCostList(Long id);
	public BigConsumption getUnitCost(Long id);
	public BigConsumption getRealUnitCost(Long id);
	public List<BigConsumption> findMaterialList(Long id);
	public List<BigConsumption> MaterialList(long id);
	public List<BigConsumption> findOfferMaterialList(long id);
	public List<BigConsumption> findHistoryList(BigConsumption bigConsumption);
	public List<BigConsumption> findStyleMaterialList(long id);
	// 插入数据 O_UNIT_COST_STYLE_R.报价管理_排版单耗_款式关联表 
	public int insertUnitCostStyleR(BigConsumption bigConsumption);
	// 插入数据 S_STYLE_MATERIAL_S.款式_面料辅料表
	public int insertMaterial(BigConsumption bigConsumption);
	// 更新O_UNIT_COST_STYLE_R.报价管理_排版单耗_款式关联表
	public int updateUnitCostStyle(BigConsumption bigConsumption);
	
	
	
}
